package com.ruoyi.project.order.type.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 预订方式对象 pre_order_type
 * 
 * @author yyj
 * @date 2021-05-13
 */
public class PreOrderType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预定方式id */
    private Long preOrderTypeId;

    /** 方式 */
    @Excel(name = "方式")
    private String type;

    public void setPreOrderTypeId(Long preOrderTypeId)
    {
        this.preOrderTypeId = preOrderTypeId;
    }

    public Long getPreOrderTypeId()
    {
        return preOrderTypeId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("preOrderTypeId", getPreOrderTypeId())
            .append("type", getType())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
